import Vue from 'vue'
import Vuex from 'vuex'
import app from './modules/app'
import login from './modules/login'
import menu from './modules/menupage'
import user from './modules/user'
import role from './modules/role'
import auth from './modules/permission'
import dict from './modules/dict'
import getters from './getters'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    app,
    login,
    menu,
    user,
    role,
    auth,
    dict
  },
  getters
})

export default store
